<template>
    <f7-page>
        <f7-navbar>
            <f7-nav-left>
                <f7-link @click="backReturn"
                         icon-material="arrow_back"></f7-link>
            </f7-nav-left>
            <f7-nav-title>融合监管系统</f7-nav-title>
        </f7-navbar>
        <div class="err-content">
            <img src="../../assets/img/notPermissions.png" />
            <div class="errTitle">无法访问</div>
            <div class="errMessage">原因：{{errMessage}}</div>
        </div>
    </f7-page>
</template>
<script>
import controller from "@/libs/framework/controller";
export default class instance extends controller {
    onInit () {
        this.context.errMessage = this.$params.errMessage ? this.$params.errMessage : '暂无数据,请联系融合系统管理员'
    }

    mixin () {
        return {
            data () {
                return {
                    errMessage: '暂无数据,请联系融合系统管理员'
                }
            },
            methods: {
                backReturn () {
                    this.$f7router.back()
                }
            },
        };
    }
}
</script>
<style lang="less" scoped>
.err-content {
    width: 100%;
    height: 100%;
    .errTitle {
        height: 30px;
        line-height: 30px;
        font-size: 20px;
        text-align: center;
        padding: 0 30px;
    }
    .errMessage {
        height: 30px;
        line-height: 30px;
        font-size: 16px;
        text-align: center;
        padding: 0 30px;
        margin-top: 10px;
    }
}
</style>

